package com.psl.action.frameAction;

import com.psl.action.BaseAction;
import com.psl.services.frame.LoginServices;

public class indexaction extends BaseAction {
    public String execute() {
        String userID = request().getParameter("userID");
        String password = request().getParameter("password");
        LoginServices ls = new LoginServices();
        if (ls.validate(userID, password)) {
            return "success";
        }
        return "error";
    }
}
